package com.xnyzc.lhy.didi.service.xiecheng;

import com.xnyzc.lhy.didi.entity.param.xiecheng.request.*;
import com.xnyzc.lhy.didi.entity.param.xiecheng.request.chatered.*;
import com.xnyzc.lhy.didi.entity.param.xiecheng.response.XieChengResponse;

import java.text.ParseException;

public interface XcCharteredService {
    /**
     * 询价
     * @param request
     * @return
     * @throws ParseException
     */
    XieChengResponse queryCharteredProduct(CharteredRequestDTO request) throws ParseException;

    /**
     * 创建订单
     * @param request
     * @return
     */
    XieChengResponse createCharteredOrder(CreateCharteredOrderDto request);

    /**
     * 取消订单
     * @param request
     * @return
     */
    XieChengResponse cancelCharteredOrder(CancelCharteredOrderDTO request);

    /**
     * 查询订单详情
     * @param request
     * @return
     */
    XieChengResponse queryCharteredOrder(QueryCharteredOrderInfoDTO request);

    /**
     * 已支付套餐外费用
     * @param request
     * @return
     */
    XieChengResponse payCharteredAdditionalFee(PayAdditionalFeeDTO request);

    /**
     * 修改订单
     * @param request
     * @return
     */
    XieChengResponse updateCharteredOrder(UpdateCharteredOrderDTO request);


}
